package org.grow.present.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @TableName UltraInfo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("UserInfo")
public class UserInfo {
    //    核心UID
    @TableId(type = IdType.INPUT)
    private String userId = "";

    private String nickName = "";


    private String menus = "";

    private BigDecimal balance = new BigDecimal(100);

    private String pic = "";
    private LocalDateTime updateTime= LocalDateTime.now();

//    2024-02-03 M
    private String departmentFk = "";
}